package com.kt.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 料仓对象 t_stock_bin
 * 
 * @author lzc
 * @date 2021-01-26
 */
public class StockBin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 料仓编号 */
    @Excel(name = "料仓编号")
    private String sbId;

    /** 工位编号 */
    @Excel(name = "工位编号")
    private String siteId;

    /** 产线编号 */
    @Excel(name = "产线编号")
    private String plId;

    /** 安全容量 */
    @Excel(name = "安全容量")
    private Long safeCapa;

    /** 容量 */
    @Excel(name = "容量")
    private Long capa;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    private int percentage;

    public int getPercentage() {
        return percentage;
    }

    public void setPercentage(int percentage) {
        this.percentage = percentage;
    }

    /** 删除标志 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSbId(String sbId) 
    {
        this.sbId = sbId;
    }

    public String getSbId() 
    {
        return sbId;
    }
    public void setSiteId(String siteId) 
    {
        this.siteId = siteId;
    }

    public String getSiteId() 
    {
        return siteId;
    }
    public void setPlId(String plId) 
    {
        this.plId = plId;
    }

    public String getPlId() 
    {
        return plId;
    }
    public void setSafeCapa(Long safeCapa) 
    {
        this.safeCapa = safeCapa;
    }

    public Long getSafeCapa() 
    {
        return safeCapa;
    }
    public void setCapa(Long capa) 
    {
        this.capa = capa;
    }

    public Long getCapa() 
    {
        return capa;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sbId", getSbId())
            .append("siteId", getSiteId())
            .append("plId", getPlId())
            .append("safeCapa", getSafeCapa())
            .append("capa", getCapa())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
